﻿using RuanGong.background.A.Classes;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RuanGong.foreground.A
{
    public partial class Suggest : Form
    {
        public Suggest(health_information health)
        {
            InitializeComponent();
            getSuggestion(health.name);
        }

        private void getSuggestion(string name)  //展示医嘱
        {
            SuggestTextBox.Text = ReadMA(name);
        }

        private void BackButton_Click(object sender, EventArgs e)  //返回到红黄码界面
        {
            this.Close();
        }
    }
}
